/***********************************************
 * Title:       StudentDao.java
 * Description: TODO ADD DISCRIPTION TO StudentDao.java
 * Author:      Niyuzhe
 * Create Date: 2009-11-30
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.model;

import java.sql.SQLException;

import java.util.List;


/**
 * @author Niyuzhe
 *
 */
public interface IStudentDao
{
        
       public Student getStudentById( long id ) throws SQLException ;
       
       public List<Student> getStudentOr( Student student);
       
       public List<Student> getStudentAnd( Student student) throws SQLException;
              
       public void deleteStudent( long id ) throws SQLException;
       
       public long insertStudent( Student student ) throws SQLException;
       
       public void updateStudent( Student student ) throws SQLException;
}
